
let actions = {
    
}

let mutations = {
    GETSRARCHDATA(state,value){
        state.searchData = value
    },
    // 
    UPDATABREADLIST(state,value){
        state.breadList = value
    },
    REMOVEBREAD(state,value){
        delete state.breadList[`${value}`]
    },
    // 更改品牌名称
    GETTRADMARK(state,value){
      state.trademark = value
    }
}

let state = {
  searchData:{},  //存放商品分类数据
  breadList:{},   //存放点击标签的列表
  trademark:'',   //存放品牌的名称
}

let getters = {}


export default {
  actions,
  mutations,
  state,
  getters
}